Siel\Acumulus\Invoice\Completor D

Total Complexity 263
Dependencies 17
Dependents 7
Total lines 1,748
Lines of code 772
Logical lines of code 503
Comment lines 781
Methods 46
Properties 17

Methods 46

Method Rating Maintainability Complexity Lines of code
getInvoiceLinesVatTypeInfo()
D
36 35 62
initPossibleVatRates()
B
40 21 59
addMissingAmountLine()
B
39 15 62
processMetaData()
A
50 15 28
guessVatType()
A
47 12 37
completeVatType()
A
42 11 52
areTotalsEqual()
A
47 12 36
initPossibleVatTypes()
A
47 11 36
checkEuCommerceThreshold()
A
49 10 27
completeLineTotals()
A
46 9 41
correctNoVatLines()
A
55 9 18
correctMarginInvoice()
A
56 8 17
completeVatTypeId()
S
59 8 14
shouldConvertCurrency()
S
56 7 18
changeInvoiceToConcept()
S
52 6 23
validateEmail()
S
53 5 22
fictitiousClient()
S
58 5 14
is0VatRate()
S
69 4 6
invoiceTemplate()
S
64 4 9
isFreeVatRate()
S
69 4 6
getVatRatesByCountryAndInvoiceDate()
S
60 3 13
complete()
S
52 2 25
convertAmount()
S
67 3 7
isVatFreeInvoice()
S
66 3 8
addDefault()
S
68 3 7
metaDataHasOnlyNoVat()
S
66 3 9
metaDataHasANoVat()
S
66 3 9
removeEmptyShipping()
S
64 3 9
isVatFreeClass()
S
66 3 8
is0VatClass()
S
66 3 8
getInvoiceDate()
S
72 2 5
isEu()
S
68 2 7
isCompany()
S
77 2 3
checkForKnownVatType()
S
66 2 8
checkMissingAmount()
S
69 2 7
convertToEuro()
S
65 2 9
isNoVat()
S
79 2 3
__construct()
S
62 1 12
isForeignVatClass()
S
72 1 5
usesForeignVat()
S
72 1 5
isCorrectVatRate()
S
79 1 3
isOutsideEu()
S
80 1 3
isNl()
S
79 1 3
is0VatVatTypePossible()
S
78 1 3
t()
S
80 1 3
lineHasNoVat()
S
80 1 3